package cn.jiyun.controller;

import cn.jiyun.feign.TeamFeign;
import cn.jiyun.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Author 王晨
 * Date 2023/8/28
 */
@RestController
@RequestMapping("/team")
public class TeamController {
    @Autowired
    private TeamFeign teamFeign;


    @RequestMapping("/findTeam") //查询战队
    public R findTeam(){
        return teamFeign.findTeam();
    }

}
